﻿<%@ page contentType="text/html;charset=UTF-8" autoFlush="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<b>问吧版本：</b>2009-05-02.01
<div>
    <br><b>请输入系统管理密码</b>
    <form name="admin" method="post" action="<%=request.getContextPath()%>/user.mrqa" onSubmit="return validate(this)">
    		<input type="hidden" name="action" value="loginadmin"/><br>
    		<input type="hidden" name="preURI" value="<c:out value="${preURI}"/>"/>
        <input type="password" name="adminPassword"/><br>
        <input type="submit" value="确定""/>
    </form>
</div>
<script>
	function validate(pForm){
		var password = pForm.adminPassword.value;
		if(password == ""){
			alert("请输入系统管理密码");
			pForm.adminPassword.focus();
			return false;
		}
		return true;
	}
</script>